<script>
console.log(1);
</script>
<script src="1.js"></script>
<body onload = "javascript:console.log(3);">

</body>